package net.youdi.gateway.exception;

import lombok.Getter;

/**
 * @author scl.BlueOcean
 * @version 1.0
 * @date 2018年10月09 13:56
 * @description 网关层异常类
 */
public class GateWayException extends RuntimeException {
    @Getter
    private Integer code;
    public GateWayException(String message) {
        super(message);
    }

    public GateWayException(String message, Integer code) {
        this(message);
        this.code = code;
    }
}
